/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.pro.dao;

import java.util.List;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.pro.entity.Project;

/**
 * 项目管理功能DAO接口
 * @author fanqinglong
 * @version 2017-04-13
 */
@MyBatisDao
public interface ProjectDao extends CrudDao<Project> {
	public Project getByName(Project project);
	
	public List<Project> getJsonForTree(Project project);
	
	public List<Project> getByUserId(String userId);
}